package com.koron.common.core.business.weather.mapper;

import com.koron.common.core.business.weather.bean.WeatherBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WeatherBeanMapper {
    int deleteByPrimaryKey(String id);

    int insert(WeatherBean record);

    int insertSelective(WeatherBean record);

    WeatherBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(WeatherBean record);

    int updateByPrimaryKey(WeatherBean record);

    int batchInsert(@Param("list") List<WeatherBean> list);

    WeatherBean findOneByCity(@Param("city")String city);

    WeatherBean findOneByAdcode(@Param("adcode")String adcode);


}
